package com.acoffee.mapper;

import com.acoffee.pojo.Dto;
import com.acoffee.pojo.RbacManager;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author acoffee
 * @create 2021-11-25 18:52
 */
@Mapper
@Repository
public interface RbacManageeMapper {
    List<RbacManager> queryAll(Dto dto);

    RbacManager queryOne(int id);

    boolean addOne(RbacManager manager);

    boolean updateOne(RbacManager manager);

    boolean deleteOne(int id);
}
